﻿using AdventureWorks.Domain;
using FluentNHibernate.Mapping;
namespace AdventureWorks.DataAccess.Mappings
{
    public class EmployeeMapping : SubclassMap<Employee>
    {
        public EmployeeMapping()
        {
            Schema("HumanResources");
            Map(x => x.BirthDate);
            KeyColumn("BusinessEntityID");
        }
    }
}
